package com.lyz.objectd3;

/**
 * @ClassName GameDemo
 * @Description 测试USB
 * @Author 2214361854
 * @Date 2022/2/19 15:10
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer("戴尔，");
        computer.start();

        USB keyBoard = new KeyBoard("火星，");
        computer.installUSB(keyBoard);

        USB mouse = new Mouse("罗技，");
        computer.installUSB(mouse);
    }
}
